import React from 'react'
import ReactDOM from 'react-dom'
import registerServiceWorker from './model/registerServiceWorker'
import './index.css'
import Button from './Button'

class App extends React.Component {
  constructor(props){
    super(props)
    this.state = {
      name: 'dog',
      age:10,
    }
  }
  render() {
    return <div>
      hello react
      <Button></Button>
    </div>
  }
  componentWillUnmount() {
  }
}
ReactDOM.render(<App />, document.getElementById('root'))
registerServiceWorker()
